Aesthetics (encodings)

PH345: Winter 2025

Phil Boonstra

Farbtafel, Paul Klee (1930)

Which color appears most often?

https://www.demilked.com/tidying-up-art-ursus-wehrli/

Tidied up Farbtafel, Ursus Wehrli (2003)

Which color appears most often?

https://www.demilked.com/tidying-up-art-ursus-wehrli/

Mapping data to aesthetics

Aesthetics or encodings are ways that we map data to visual properties of the plot and include position, color, length, shape, area, volume

Choice of aesthetics helps or hinders your audience’s understanding of what the data are showing

Example: five proportions

One number for each of five groups (A-E)

Plot 1

Plot 2

Plot 3

Plot 4

Plot 5

Plot 6

Plot 7

Plot 8

Plot 9

True values

1 2 3 4 5 6 7 8 9
0.16 0.2054795 0.3333333 0.3653846 0.2542373 0.1612903 0.2830189 0.0338983 0.0983607
1 2 3 4 5 6 7 8 9
0.16 0.2054795 0.3333333 0.3653846 0.2542373 0.1612903 0.2830189 0.0338983 0.0983607

Types of data

  • Quantitative: numbers that measure units, e.g. years, kg, etc. Differences between numbers have meaning
  • Ordinal: numbers or categories that have natural order, e.g. Likert scales, tumor stage. Distances between numbers do not have consistent meaning (‘Almost always’ - ‘Sometimes’ = ?)
  • Nominal: Categories that have no inherent order, e.g. US states